package org.example.lambda;

/**
 * @author why
 * @date 2022/11/1220:05
 */
public class RunnableLambdaSimple {


    public static void main(String[] args) {

        Thread thread = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("runnable====");
            }
        });

        thread.start();


        Thread thread1 = new Thread(()-> System.out.println("runnable--lambda"));


        thread1.start();
    }





}
